<template>
  <div class="contianer">
      <div class="user-info">
          <div class="avatar">
            <img src="https://pic2.zhimg.com/v2-416283ef3cd33682bf1c1a99fe5fb282_xl.jpg" alt="">
          </div>
          <div class="user-name">
            <span>绣湖</span>
          </div>
          <button class="user-info-edit">
            编辑资料
          </button>
      </div>
      <div class="user-follower">
          <div class="follow-me">
              <span>0 关注我的人</span>
          </div>
          <div class="follower-divider"></div>
          <div class="me-follow">
              <span>0 我关注的人</span>
          </div>
      </div>
  </div>
</template>

<script>
export default {
    name:'user-header'
}
</script>

<style lang='less' scoped>
@import '../../../assets/styles/common.less';
.contianer{
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30rem/@baseFont 16rem/@baseFont 0;
    .user-info{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        .avatar,.user-name,.user-info-edit{
            margin-bottom: 20rem/@baseFont;
        }
        .avatar{
            img{
                width: 120rem/@baseFont;
                height: 120rem/@baseFont;
                border-radius: 50%;
                border:2rem/@baseFont solid #FFFFFF;
            }
        }
        .user-name{
            font-size:24rem/@baseFont;
        }
        .user-info-edit{
            border-radius: 5rem/@baseFont;
            padding:0 16rem/@baseFont;
            line-height: 40rem/@baseFont;
            background: #0084ff;
            color: #fff;
            border: none;
            outline: none;
        }
    }
    .user-follower{
        height: 44rem/@baseFont;
        font-size: 16rem/@baseFont;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        margin-top: 20rem/@baseFont;
        border-top: 1rem/@baseFont solid 	#DCDCDC;
        .follower-divider{
            height: 20rem/@baseFont;
            border-left: 1rem/@baseFont solid 	#DCDCDC;
        }
    }
}
</style>